package org.kimoji.base;

import org.kimoji.entity.biz.JsonRes;
import org.kimoji.security.entity.Account;

public class BaseService {

	protected JsonRes getJsonRes(boolean success){
		return JsonRes.getInstance(success);
	}
	
	protected Account clearAccount(Account account){
		account.setPassword(null);
		account.setVerifyCode(null);
		return account;
	}
	
}
